# 6  前面2个元素为0，1，输出100以内的斐波那契数列；

def fibonacci_sequence(limit=100):
    fib_sequence = [0, 1]
    while True:
        next_value = fib_sequence[-1] + fib_sequence[-2]
        if next_value >= limit:
            break
        fib_sequence.append(next_value)
    print("Fibonacci sequence within 100:", fib_sequence)

fibonacci_sequence()